package com.ess.user.mapper;

import com.ess.user.dto.req.UserReqDto;
import com.ess.user.po.User;
import com.ess.user.po.UserPrivilege;
import com.github.abel533.mapper.Mapper;

import java.util.List;

public interface UserMapper  extends Mapper<User> {

    /**
     * 查询用户菜单权限信息
     * @param user
     * @return
     */
    List<UserPrivilege> queryUserPrivilegeList(UserReqDto user);

}
